Vcenter NamespaceManagement Networks CreateSpec

Vcenter NamespaceManagement Networks CreateSpec
Vcenter NamespaceManagement Networks CreateSpec

The Vcenter NamespaceManagement Networks CreateSpec schema contains the specification required to create a vSphere Namespaces network object.

This schema was added in vSphere API 7.0.1.0.

JSON Example
{
    "network": "string",
    "network_provider": "string",
    "vsphere_network": {
        "portgroup": "string",
        "ip_assignment_mode": "string",
        "address_ranges": [
            {
                "address": "string",
                "count": 0
            }
        ],
        "gateway": "string",
        "subnet_mask": "string",
        "mode": "string"
    },
    "nsx_network": {
        "namespace_network_cidrs": [
            {
                "address": "string",
                "prefix": 0
            }
        ],
        "ingress_cidrs": [
            {
                "address": "string",
                "prefix": 0
            }
        ],
        "egress_cidrs": [
            {
                "address": "string",
                "prefix": 0
            }
        ],
        "nsx_tier0_gateway": "string",
        "subnet_prefix_length": 0,
        "routed_mode": false,
        "load_balancer_size": "string"
    }
}
string
network
Required

Identifier of the network. This has DNS_LABEL restrictions as specified in . This must be an alphanumeric (a-z and 0-9) string and with maximum length of 63 characters and with the '-' character allowed anywhere except the first or last character. This name must be unique within a cluster.

This property was added in vSphere API 7.0.1.0.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network.

string
network_provider
Required

The network provider that will manage the vSphere Namespaces network object.

For more information see: Vcenter NamespaceManagement Clusters NetworkProvider.

This property was added in vSphere API 7.0.1.0.

vsphere_network
Optional

The create spec for a DVPG-backed Namespaces network object, supported by Vcenter NamespaceManagement Clusters NetworkProvider.VSPHERE_NETWORK network provider.

This property was added in vSphere API 7.0.1.0.

This property is optional and it is only relevant when the value of network_provider is Vcenter NamespaceManagement Clusters NetworkProvider.VSPHERE_NETWORK.

nsx_network
Optional

The create spec for a NSXT-backed Namespaces network configuration, supported by Vcenter NamespaceManagement Clusters NetworkProvider.NSXT_CONTAINER_PLUGIN network provider.

This property was added in vSphere API 7.0.2.0.

This property is optional and it is only relevant when the value of network_provider is Vcenter NamespaceManagement Clusters NetworkProvider.NSXT_CONTAINER_PLUGIN.